package com.zhiyou.dao;

import com.zhiyou.bean.Product;
import com.zhiyou.bean.User;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

@org.apache.ibatis.annotations.Mapper
public interface UserMapper extends Mapper<User> {

    List<Product> getUserMoney();

    List<User> getUserByName(String username);

    List<Product> getUserAndProductByName(String username);

    List<User> getUserByNameAudit(String realname,int i);

    int auditUser(Integer id, int status);
}